/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lucava.importer.uspeed.matcher;

import java.util.regex.MatchResult;

/**
 *
 * @author glenn
 */
public class ParameterMatcher extends MatcherDecorator {

    public ParameterMatcher(MatchResult matcher) {
        super(matcher);
    }

    public String getParameterName() {
        return this.matcher.group(2);
    }

    public String getParameterType() {
        return this.matcher.group(4);
    }

    @Override
    public String toString() {
        return "PARAMETER => name : " + getParameterName() + " | "
                + "type : " + getParameterType();
    }
}
